package shiyan.second.TDDDemo;
import org.testng.annotations.Test;


import java.util.*;
/**
 * Created by mc on 2016/8/2.
 */
public class MyUtilTest {

    @Test
    public void testPercentage2fivegrade() throws Exception {


        assertEquals("不及格",MyUtil.percentage2fivegrade(55));
        assertEquals("及格",MyUtil.percentage2fivegrade(65));
        assertEquals("中等",MyUtil.percentage2fivegrade(75));
        assertEquals("良好",MyUtil.percentage2fivegrade(85));
        assertEquals("优秀",MyUtil.percentage2fivegrade(95));
    }

    private void assertEquals(String 不及格, String s) {
    }
}